package com.itheima.Test;

public class Test008 {
    public static void main(String[] args) throws InterruptedException {
        /*
        编写程序，描述一下多线程的“原子性”问题
         */
        MyTread01 mt = new MyTread01();
        mt.start();
        MyTread01 mt1 = new MyTread01();
        mt1.start();
        //让主程序先睡两秒;
        Thread.sleep(2000);
        System.out.println(MyTread01.a);


    }
}
